package com.company.mapper;

import com.company.model.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface UserMapper {
    void createTable();
    void dropTable();
    List<User> findAll();
    User findOne(String name);
    int insertOne(User user);
}
